#!/bin/bash

# 源文件路径
source_file="/root/vmess/vmess.txt"

# 目标文件路径
target_file="/root/vmess/myvmess.txt"

# 目标文件路径2
target_file2="/usr/local/nginx/html/myvmess.txt"

# 将文件内容进行base64编码，并生成新文件
base64 "$source_file" > "$target_file"
base64 "$source_file" > "$target_file2"

echo "新文件已生成：$target_file"
echo "新文件已生成：$target_file2"



